package com.dc.business.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value = "计划订单模块Model")
public class PlanOrder {

   @ApiModelProperty(value = "色号要求")
   private String colorNum;

   @ApiModelProperty(value = "开色方式")
   private String colorType;

   @ApiModelProperty(value = "客户")
   private String customer;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
   @ApiModelProperty(value = "交货日期")
   private Date deliverDate;

   @ApiModelProperty(value = "误差量")
   private String error;

   @ApiModelProperty(value = "外键计划id")
   private int fkPlanId;

   @ApiModelProperty(value = "一级品百分比")
   private String level1Percent;

   @ApiModelProperty(value = "产品编号")
   private String name;

   @ApiModelProperty(value = "")
   private int orderId;

   @ApiModelProperty(value = "计划工时")
   private String planHours;

   @ApiModelProperty(value = "计划数量")
   private String planNum;

   @ApiModelProperty(value = "产能")
   private String produceAbility;

   @ApiModelProperty(value = "备注")
   private String remark;

   @ApiModelProperty(value = "规格")
   private String specifications;

   @ApiModelProperty(value = "贴模/隔纸")
   private String type1;

   @ApiModelProperty(value = "盖章/贴标")
   private String type2;

   @ApiModelProperty(value = "纸箱")
   private String type3;

   @ApiModelProperty(value = "打包带")
   private String type4;

   @ApiModelProperty(value = "木托规格")
   private String type5;

   @ApiModelProperty(value = "打托箱数")
   private String type6;

    public String getColorNum() {
        return colorNum;
    }

    public void setColorNum(String colorNum) {
        this.colorNum = colorNum;
    }

    public String getColorType() {
        return colorType;
    }

    public void setColorType(String colorType) {
        this.colorType = colorType;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getDeliverDate() {
        return deliverDate;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public void setDeliverDate(Date deliverDate) {
        this.deliverDate = deliverDate;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public int getFkPlanId() {
        return fkPlanId;
    }

    public void setFkPlanId(int fkPlanId) {
        this.fkPlanId = fkPlanId;
    }

    public String getLevel1Percent() {
        return level1Percent;
    }

    public void setLevel1Percent(String level1Percent) {
        this.level1Percent = level1Percent;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getPlanHours() {
        return planHours;
    }

    public void setPlanHours(String planHours) {
        this.planHours = planHours;
    }

    public String getPlanNum() {
        return planNum;
    }

    public void setPlanNum(String planNum) {
        this.planNum = planNum;
    }

    public String getProduceAbility() {
        return produceAbility;
    }

    public void setProduceAbility(String produceAbility) {
        this.produceAbility = produceAbility;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getType1() {
        return type1;
    }

    public void setType1(String type1) {
        this.type1 = type1;
    }

    public String getType2() {
        return type2;
    }

    public void setType2(String type2) {
        this.type2 = type2;
    }

    public String getType3() {
        return type3;
    }

    public void setType3(String type3) {
        this.type3 = type3;
    }

    public String getType4() {
        return type4;
    }

    public void setType4(String type4) {
        this.type4 = type4;
    }

    public String getType5() {
        return type5;
    }

    public void setType5(String type5) {
        this.type5 = type5;
    }

    public String getType6() {
        return type6;
    }

    public void setType6(String type6) {
        this.type6 = type6;
    }
}
